package com.zkingsoft.zkingbase.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;
import java.util.Date;

import org.greenrobot.greendao.annotation.Generated;


/***
 * Created by ytf on 20161110.
 基础用户表
 */


@Entity(nameInDb = "user")
public class User implements Serializable
{

    public static final long serialVersionUID = 1L;

    @Id()
    public Long suId;
    //真实姓名
    public String suName;
    //电话号码
    public String suTel;
    //住址
    public String suAddress;
    // 头像
    public String suPhoto;
    // 性别
    public String suSex;
    //---------------------------
    //用户标识
    public String token;
    //年龄
    public int age;
    //国家
    public String country;
    //城市
    public String city;
    //保留
    public String reserve1;
    public String reserve2;
    //-----------------------------
    //  角色
    public Long roleId;
    //  邮箱
    public String suEmail;
    //  账号
    public String suAccount;
    //  密码
    public String suPassword;
    //  注册时间
    public String suRegisterTime;
    //  qqid
    public String suQqId;
    //  微信id
    public String suWeixinId;
    // 等级
    public String suGrade;
    // 推荐人
    public Long parentUserId;
    //  部门
    public Long suDeptId;
    //  用户类型
    public String suUserType;
    //  微博id
    public String suWeiboId;
    //  身份证
    public String suIdcard;
    //  职称
    public String suJobTitle;
    //  别名，昵称
    public String suAliases;
    //  工作编号
    public String suJobNo;
    //  公司id
    public Long companyId;
    //  备用电话号码
    public String suTel2;
    //  账户状态
    public String suAccountStatus;
    //  激活码
    public String suValidateCode;
    //  激活最后时间
    public String suValidateEndTime;
    //  Y 有效，N无效
    public String suValid;
    //  生日
    public String suBirthday;
    //  用户uuid
    public String suUuid;
    // 岗位id
    public Long suPostId;
    //  用户对于的角色集合
    public String roleIds;
    @Generated(hash = 168560944)
    public User(Long suId, String suName, String suTel, String suAddress,
            String suPhoto, String suSex, String token, int age, String country,
            String city, String reserve1, String reserve2, Long roleId,
            String suEmail, String suAccount, String suPassword,
            String suRegisterTime, String suQqId, String suWeixinId, String suGrade,
            Long parentUserId, Long suDeptId, String suUserType, String suWeiboId,
            String suIdcard, String suJobTitle, String suAliases, String suJobNo,
            Long companyId, String suTel2, String suAccountStatus,
            String suValidateCode, String suValidateEndTime, String suValid,
            String suBirthday, String suUuid, Long suPostId, String roleIds) {
        this.suId = suId;
        this.suName = suName;
        this.suTel = suTel;
        this.suAddress = suAddress;
        this.suPhoto = suPhoto;
        this.suSex = suSex;
        this.token = token;
        this.age = age;
        this.country = country;
        this.city = city;
        this.reserve1 = reserve1;
        this.reserve2 = reserve2;
        this.roleId = roleId;
        this.suEmail = suEmail;
        this.suAccount = suAccount;
        this.suPassword = suPassword;
        this.suRegisterTime = suRegisterTime;
        this.suQqId = suQqId;
        this.suWeixinId = suWeixinId;
        this.suGrade = suGrade;
        this.parentUserId = parentUserId;
        this.suDeptId = suDeptId;
        this.suUserType = suUserType;
        this.suWeiboId = suWeiboId;
        this.suIdcard = suIdcard;
        this.suJobTitle = suJobTitle;
        this.suAliases = suAliases;
        this.suJobNo = suJobNo;
        this.companyId = companyId;
        this.suTel2 = suTel2;
        this.suAccountStatus = suAccountStatus;
        this.suValidateCode = suValidateCode;
        this.suValidateEndTime = suValidateEndTime;
        this.suValid = suValid;
        this.suBirthday = suBirthday;
        this.suUuid = suUuid;
        this.suPostId = suPostId;
        this.roleIds = roleIds;
    }
    @Generated(hash = 586692638)
    public User() {
    }
    public Long getSuId() {
        return this.suId;
    }
    public void setSuId(Long suId) {
        this.suId = suId;
    }
    public String getSuName() {
        return this.suName;
    }
    public void setSuName(String suName) {
        this.suName = suName;
    }
    public String getSuTel() {
        return this.suTel;
    }
    public void setSuTel(String suTel) {
        this.suTel = suTel;
    }
    public String getSuAddress() {
        return this.suAddress;
    }
    public void setSuAddress(String suAddress) {
        this.suAddress = suAddress;
    }
    public String getSuPhoto() {
        return this.suPhoto;
    }
    public void setSuPhoto(String suPhoto) {
        this.suPhoto = suPhoto;
    }
    public String getSuSex() {
        return this.suSex;
    }
    public void setSuSex(String suSex) {
        this.suSex = suSex;
    }
    public Long getRoleId() {
        return this.roleId;
    }
    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
    public String getSuEmail() {
        return this.suEmail;
    }
    public void setSuEmail(String suEmail) {
        this.suEmail = suEmail;
    }
    public String getSuAccount() {
        return this.suAccount;
    }
    public void setSuAccount(String suAccount) {
        this.suAccount = suAccount;
    }
    public String getSuPassword() {
        return this.suPassword;
    }
    public void setSuPassword(String suPassword) {
        this.suPassword = suPassword;
    }
    public String getSuRegisterTime() {
        return this.suRegisterTime;
    }
    public void setSuRegisterTime(String suRegisterTime) {
        this.suRegisterTime = suRegisterTime;
    }
    public String getSuQqId() {
        return this.suQqId;
    }
    public void setSuQqId(String suQqId) {
        this.suQqId = suQqId;
    }
    public String getSuWeixinId() {
        return this.suWeixinId;
    }
    public void setSuWeixinId(String suWeixinId) {
        this.suWeixinId = suWeixinId;
    }
    public String getSuGrade() {
        return this.suGrade;
    }
    public void setSuGrade(String suGrade) {
        this.suGrade = suGrade;
    }
    public Long getParentUserId() {
        return this.parentUserId;
    }
    public void setParentUserId(Long parentUserId) {
        this.parentUserId = parentUserId;
    }
    public Long getSuDeptId() {
        return this.suDeptId;
    }
    public void setSuDeptId(Long suDeptId) {
        this.suDeptId = suDeptId;
    }
    public String getSuUserType() {
        return this.suUserType;
    }
    public void setSuUserType(String suUserType) {
        this.suUserType = suUserType;
    }
    public String getSuWeiboId() {
        return this.suWeiboId;
    }
    public void setSuWeiboId(String suWeiboId) {
        this.suWeiboId = suWeiboId;
    }
    public String getSuIdcard() {
        return this.suIdcard;
    }
    public void setSuIdcard(String suIdcard) {
        this.suIdcard = suIdcard;
    }
    public String getSuJobTitle() {
        return this.suJobTitle;
    }
    public void setSuJobTitle(String suJobTitle) {
        this.suJobTitle = suJobTitle;
    }
    public String getSuAliases() {
        return this.suAliases;
    }
    public void setSuAliases(String suAliases) {
        this.suAliases = suAliases;
    }
    public String getSuJobNo() {
        return this.suJobNo;
    }
    public void setSuJobNo(String suJobNo) {
        this.suJobNo = suJobNo;
    }
    public Long getCompanyId() {
        return this.companyId;
    }
    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }
    public String getSuTel2() {
        return this.suTel2;
    }
    public void setSuTel2(String suTel2) {
        this.suTel2 = suTel2;
    }
    public String getSuAccountStatus() {
        return this.suAccountStatus;
    }
    public void setSuAccountStatus(String suAccountStatus) {
        this.suAccountStatus = suAccountStatus;
    }
    public String getSuValidateCode() {
        return this.suValidateCode;
    }
    public void setSuValidateCode(String suValidateCode) {
        this.suValidateCode = suValidateCode;
    }
    public String getSuValidateEndTime() {
        return this.suValidateEndTime;
    }
    public void setSuValidateEndTime(String suValidateEndTime) {
        this.suValidateEndTime = suValidateEndTime;
    }
    public String getSuValid() {
        return this.suValid;
    }
    public void setSuValid(String suValid) {
        this.suValid = suValid;
    }
    public String getSuBirthday() {
        return this.suBirthday;
    }
    public void setSuBirthday(String suBirthday) {
        this.suBirthday = suBirthday;
    }
    public String getSuUuid() {
        return this.suUuid;
    }
    public void setSuUuid(String suUuid) {
        this.suUuid = suUuid;
    }
    public Long getSuPostId() {
        return this.suPostId;
    }
    public void setSuPostId(Long suPostId) {
        this.suPostId = suPostId;
    }
    public String getRoleIds() {
        return this.roleIds;
    }
    public void setRoleIds(String roleIds) {
        this.roleIds = roleIds;
    }
    public String getToken() {
        return this.token;
    }
    public void setToken(String token) {
        this.token = token;
    }
    public int getAge() {
        return this.age;
    }
    public void setAge(int age) {
        this.age = age;
    }
    public String getCountry() {
        return this.country;
    }
    public void setCountry(String country) {
        this.country = country;
    }
    public String getCity() {
        return this.city;
    }
    public void setCity(String city) {
        this.city = city;
    }
    public String getReserve1() {
        return this.reserve1;
    }
    public void setReserve1(String reserve1) {
        this.reserve1 = reserve1;
    }
    public String getReserve2() {
        return this.reserve2;
    }
    public void setReserve2(String reserve2) {
        this.reserve2 = reserve2;
    }
}